package com.momo.hotel.controller;

import com.momo.hotel.dto.GetHotels;
import com.momo.hotel.dto.SearchHotels;
import com.momo.hotel.service.HotelRoomService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @version 1.0.0
 * @auther Snake
 * @date 2019/7/4 11:55
 */
@RestController
public class UserRoomsController {
//    @Resource
//    HotelRoomService hotelRoomService;
//
//    @RequestMapping(value = "getRooms",produces = "application/json;charset=utf-8")
//    public Object getRooms(@RequestBody SearchHotels searchHotels){
//        List<GetHotels> hotels = hotelRoomService.selectHotels(searchHotels);
//
//        return hotels;
//    }
}
